repo: Factor out the check of gpg result to a separate function
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Thu, 26 May 2016 09:48:21 +0000 (11:48 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 27 May 2016 11:20:00 +0000 (11:20 +0000)
commit89bfb1d503bc7c8bf7f7de85dd0797f8cde5f515
tree861435224fa0d9edbc94273d013ee28357d40c32
parent569e43c280d6b09b5a683c5b4ea41a448f1f7ce2
repo: Factor out the check of gpg result to a separate function

I plan to add a function for verifying any data which may return the
error about lack of trusted signatures, so let's avoid the redundancy
and put the check in the separate function.

Closes: #310
Approved by: cgwalters
apidoc/ostree-sections.txt
src/libostree/libostree.sym
src/libostree/ostree-gpg-verify-result.c
src/libostree/ostree-gpg-verify-result.h
src/libostree/ostree-repo.c